<template>
  <footer id="footer">
    <img class="f-logo" src="../../assets/logo.png" alt="">
    <span class="f-copr">© 2023 校园订餐系统</span>
    <div class="f-gitee">
        <img style="width: 80px;border-radius: 50%;" src="https://foruda.gitee.com/avatar/1696342942137152712/5352827_adnaan_1696342942.png!avatar30" alt="">
        <el-button style="margin-left: 5px;" type="primary" @click="goTarget('https://gitee.com/adnaan')" plain>访问我的gitee</el-button>
    </div>
  </footer>
</template>

<script>
export default{
methods: {
  goTarget(href) {
      window.open(href, '_blank')
    }
}
}
</script>

<style lang="scss" scoped>
.flex-grow {
  flex-grow: 1;
}
#footer{
    display: flex;
    height: 200px;
    position: relative;
    align-items: center;
    justify-content: space-around;
    border-top: 1px solid #ddd;
}
#footer .f-logo{
    width: 150px;
}
#footer .f-copr{
    margin-right: 50px;
    position: absolute;
    bottom: 50px;
}
#footer .f-gitee{
    display: flex;
    align-items: center;
}
</style>
